From fac40e0129b81fdc160cce631825292a58f3d136 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sun, 2 Aug 2020 09:00:09 -0600 Subject: [PATCH] fix lupdate warning. (#617) With Qt 5.12.9 the lupdate command in package_app could print a warning: /home/strabert/work/pkgconfig/gui/preferences.cc:28: Discarding unconsumed meta data --- gui/preferences.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/preferences.cc b/gui/preferences.cc index fbed65695..2515e5076 100644 --- a/gui/preferences.cc +++ b/gui/preferences.cc @@ -23,7 +23,7 @@ class FormatListEntry : public QListWidgetItem { public: - FormatListEntry(Format& fmt) /*: fmt_(fmt)*/ + FormatListEntry(Format& fmt) /* : fmt_(fmt) */ { setText(fmt.getDescription()); bool enabled = !fmt.isHidden(); -- 2.30.2